package com.mutual.help.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mutual.help.entity.WxUsers;

public interface WxUserService extends IService<WxUsers> {

    /**
     * 微信端用户点击登录时，从code中获取openId的信息
     * @param code
     * @return
     */
    Object userOpenId(String code, String userId);

    /**
     * 通过id保存用户其他信息
     * @param nickName
     * @param gender
     * @return
     */
    Object addCustomUser(String nickName, String gender, String avatarUrl, String country);
}
